package org.springblade.pm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.AllArgsConstructor;
import org.springblade.pm.entity.ManpowerPlan;
import org.springblade.pm.mapper.ManpowerPlanMapper;
import org.springblade.pm.service.IManpowerPlanService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@AllArgsConstructor
public class ManpowerPlanServiceImpl extends ServiceImpl<ManpowerPlanMapper,ManpowerPlan> implements IManpowerPlanService {
	ManpowerPlanMapper manpowerPlanMapper;
	@Override
	public String getProjectHrData(String projectCode) {
		return manpowerPlanMapper.getProjectHrData(projectCode);
	}

	@Override
	public List<Map<String,Object >> getUserHrData(String  projectCode) {
		return manpowerPlanMapper.getUserHrData(projectCode);
	}
	@Override
	public List<Map<String,Object >> getRoleHrData(String  projectCode) {
		return manpowerPlanMapper.getRoleHrData(projectCode);
	}

}
